import request from '@/util/request.js';
/**
 * @description 抽奖
 * @param {Object} data
 */
export function getRaffleApi(data) {
	return request({
		url: '/activity/raffle',
		method: 'GET',
		data
	})
}
/**
 * @description 抽奖列表
 * @param {Object} data
 */
export function getListApi(data) {
	return request({
		url: '/activity/list',
		method: 'GET',
		data
	})
}
/**
 * @description 我的奖品
 * @param {Object} data
 */
export function getRecordApi(data) {
	return request({
		url: '/lotteryRecord/myLotteryRecord',
		method: 'GET',
		data
	})
}
/**
 * @description 收到货物
 * @param {Object} data
 */
export function receivedGoods(data) {
	return request({
		url: '/lotteryRecord/receivedGoods',
		method: 'GET',
		data
	})
}